<div id="content">
    <?php
    $IdAdmin = $_GET['IdAdmin'];
    $oPDO = new PdoAdmin();

    $admin = $oPDO->readOne($IdAdmin);


    echo "<form id='formulaire' action='index.php?route=admin&action=traitement_modif' method='post'>";

    echo "<label>Pseudo</label>";
    echo "<input type='text' name='PSEUDOADMIN' value='" . $admin->getPseudoAdmin() . "' />";

    echo "<label>Nom</label>";
    echo "<input type='text' name='NOMADMIN' value='" . $admin->getNomAdmin() . "'/>";

    echo "<label>Prenom</label>";
    echo "<input type='text' name='PRENOMADMIN' value='" . $admin->getPrenomAdmin() . "'/>";

    echo "<label>Mot de passe :</label>";
    echo "<input type='text' name='MOTDEPASSEADMIN' value='" . $admin->getMotdePasseAdmin() . "'/>";

    echo "<label>Mail :</label>";
    echo "<input type='text' name='ADRESSEELECADMIN' value='" . $admin->getAdresseelecAdmin() . "'/>";

    echo "<input type='hidden' name='IDADMIN' value='" . $admin->getIdAdmin() . "' />";
    echo "<input type='submit'  value='Valider'>";

    echo "</form>";

    echo "<br /><br /><br /><br /><br />";
    ?></div>